package com.gxuwz.attend.entity;

import org.springframework.stereotype.Component;

public class Student {
    private String id;
    private String stuID;        // 学号
    private String password;
    private String classID;      // 班号
    private String stuName;      // 姓名
    private String sex;          // 性别
    private String address;       // 通讯地址
    private String stuTel;       // 学生电话
    private String contact;       // 联系人
    private String contactTel;    // 联系人电话

    public Student(String stuID, String password, String classID, String stuName, String sex, String address, String stuTel, String contact, String contactTel) {
        this.stuID = stuID;
        this.password = password;
        this.classID = classID;
        this.stuName = stuName;
        this.sex = sex;
        this.address = address;
        this.stuTel = stuTel;
        this.contact = contact;
        this.contactTel = contactTel;
    }

    public Student() {
    }

    public Student(String id, String stuID, String password, String classID, String stuName, String sex, String address, String stuTel, String contact, String contactTel) {
        this.id = id;
        this.stuID = stuID;
        this.password = password;
        this.classID = classID;
        this.stuName = stuName;
        this.sex = sex;
        this.address = address;
        this.stuTel = stuTel;
        this.contact = contact;
        this.contactTel = contactTel;
    }



    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return stuID
     */
    public String getStuID() {
        return stuID;
    }

    /**
     * 设置
     * @param stuID
     */
    public void setStuID(String stuID) {
        this.stuID = stuID;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return classID
     */
    public String getClassID() {
        return classID;
    }

    /**
     * 设置
     * @param classID
     */
    public void setClassID(String classID) {
        this.classID = classID;
    }

    /**
     * 获取
     * @return stuName
     */
    public String getStuName() {
        return stuName;
    }

    /**
     * 设置
     * @param stuName
     */
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return stuTel
     */
    public String getStuTel() {
        return stuTel;
    }

    /**
     * 设置
     * @param stuTel
     */
    public void setStuTel(String stuTel) {
        this.stuTel = stuTel;
    }

    /**
     * 获取
     * @return contact
     */
    public String getContact() {
        return contact;
    }

    /**
     * 设置
     * @param contact
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取
     * @return contactTel
     */
    public String getContactTel() {
        return contactTel;
    }

    /**
     * 设置
     * @param contactTel
     */
    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String toString() {
        return "Student{id = " + id + ", stuID = " + stuID + ", password = " + password + ", classID = " + classID + ", stuName = " + stuName + ", sex = " + sex + ", address = " + address + ", stuTel = " + stuTel + ", contact = " + contact + ", contactTel = " + contactTel + "}";
    }
}
